package org.nanfang.Yield.isAliv;

public class MainIsAll {
    public static void main(String[] args) {
        Threadyield mt = new Threadyield("线程一");
        mt.start();
        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
        mt.stop();
    }
}
